home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1996 April / Software of the Month Club 1996 April.iso / mac / Latest & Greatest / DiskTracker ƒ / DiskTracker user manual / DiskTracker user manual.rsrc / TEXT_133.txt < prev    next >
Text File  |  1995-12-23  |  16KB  |  328 lines

  1.  
  2. CHAPTER FOUR: Searching catalog files
  3.  
  4. DiskTracker offers quite a few choices when it comes to searching for files.  There is a standard, single-criteria, Finder-style searching mechanism which allows you to search on almost twenty different kinds of criteria.  The individual ΓÇ£hitsΓÇ¥ (the items that are found), can be either shown one at a time in the catalog window, all at once in the catalog window, or in the search result window (as described in chapter five).
  5.  
  6. In addition to the simple searching described above, DiskTracker can execute multi parameter searches.  This allows you to, rather than simply searching for items using a single criterium (e.g., ΓÇÿName is ΓÇ£Fruit SaladΓÇ¥ΓÇÖ), search for items based on what is called an ΓÇ£item filterΓÇ¥.  Basically, an item filter is a collection of criteria which describe an item.  For instance, an item filter might contain the criteria, ΓÇÿName contains ΓÇ£Egg NogΓÇ¥ AND attribute is aliasΓÇÖ.  Item filters can essentially contain an infinite number of criteria (of course, the limiting factors are always disk and RAM storage), and contain grouped criteria, as well as the AND, OR, and XOR Boolean operators.  Item filters can be saved to disk, so you can construct filters for those searches that you do frequently, and always have quick access to them.
  7.  
  8. DiskTracker also contains a powerful duplicate item finding facility.  You can choose which item criteria determine a duplicate file, and can also specify an item filter that files must match before they will be considered as a potential duplicate file.
  9.  
  10.  
  11.  
  12. Single-criteria searching
  13. DiskTracker features a simple single-criteria searching engine which most users will find more than sufficient for the bulk of searching.  Although only one criteria may be checked at a time, almost twenty different kinds of criteria are offered.
  14.  
  15. ΓÇó To execute a single-criteria search:
  16.  
  17.     1.) Select ΓÇ£FindΓǪΓÇ¥ from the Search menu (or press ΓîÿF).  You will be presented with the Find dialog:
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.     2.) Select the criteria you would like to search on from the menu on the left.  For a list of the criteria and what they do, see below.
  38.     3.) Select the how the criteria should be matched (e.g., contains, is equal to, is less than, and so forth) from the menu on the right.
  39.     4.) Enter the search value or select it from the menu in the center (method depends on the search criteria).  See below for more info.
  40.     5.) Select whether DiskTracker should search all disks, the current hierarchy, or just selected items from the ΓÇ£Search:ΓÇ¥ menu within the dialog.
  41.     6.) From the ΓÇ£Show:ΓÇ¥ menu, select how you would like DiskTracker to display the found items.  You can choose between having the first item selected, all of the items selected, or the items displayed in the search result window (for more on the search result window, see the next chapter).
  42.     7.) Click the ΓÇ£FindΓÇ¥ button to start the search, or the ΓÇ£CancelΓÇ¥ button to cancel.
  43.  
  44. About the search criteria (limitations and data entry methods in parentheses):
  45.   ΓÇó NameΓÇösearch on an itemΓÇÖs name (fill in the name field)
  46.   ΓÇó SizeΓÇösearch on an itemΓÇÖs size (for disks, this is the content size (content = totalΓÇöfree)) (fill in the size field (in kilobytes))
  47.   ΓÇó KindΓÇösearch on an itemΓÇÖs kind (fill in the kind field)
  48.   ΓÇó LabelΓÇösearch on an itemΓÇÖs Finder label (select from list of labels)
  49.   ΓÇó TypeΓÇösearch on a fileΓÇÖs four letter type code (never finds volumes or folders) (fill in file type or click on the ΓÇ£Get From FileΓÇ¥ button and select a file within the open dialog)
  50.   ΓÇó CreatorΓÇösearch on a fileΓÇÖs four letter creator code (never finds volumes or folders) (fill in file creator or click on the ΓÇ£Get From FileΓÇ¥ button and select a file within the open dialog)
  51.   ΓÇó Creation dateΓÇösearch on the date that an item was created on (click on the month, day, and year then use arrow buttons to select the date)
  52.   ΓÇó Modification dateΓÇösearch on the date that an item was late modified (select date using same method for creation date)
  53.   ΓÇó AttributeΓÇösearch on several different attributes including (is the item locked?, is the item invisible?, an alias?, a volume?, an archive?, a file?, and does the item have an obsolete disk label?) ΓÇö select the attribute that you like to search on from the menu
  54.   ΓÇó DepthΓÇösearch on how deep an item is within the hierarchy (disks are of depth 1) (fill in the depth)
  55.   ΓÇó # of childrenΓÇösearch on how many items there are within the first level of an folder or diskΓÇÖs hierarchy (never finds files (except archives)) (fill in the number of children)
  56.   ΓÇó # of descendantsΓÇösearch on how many items there are within the entire hierarchy of a folder or disk, including the hierarchies within that folder or disk, and the ones inside of that, and so on (never finds files (except archives)) (fill in the number of descendants)
  57.   ΓÇó Scanned dateΓÇösearch on the date that a disk was last scanned (never finds folders or files) (select date using same method for creation date)
  58.   ΓÇó Labeled dateΓÇösearch on the date that a disk was last labeled (never finds folders or files) (select date using same method for creation date)
  59.   ΓÇó Disk notesΓÇösearch on the notes for a disk (entered through the Disk Notes dialog) (never finds folders or files) (fill in the text field)
  60.   ΓÇó Free spaceΓÇösearch on the free space on a disk (never finds folders or files) (fill in the size in kilobytes)
  61.   ΓÇó Serial numberΓÇösearch on the diskΓÇÖs serial number (never finds folders or files) (fill in the serial number field)
  62.   ΓÇó ParentΓÇÖs nameΓÇösearch on the name of an itemΓÇÖs parent (never finds volumes) (fill in the name field)
  63.   ΓÇó AncestorΓÇÖs nameΓÇösearch on the name of an itemΓÇÖs ancestor (never finds volumes) (fill in the name field)
  64.  
  65.  
  66.  
  67. Multi-criteria searching (searching with filters)
  68. For more complicated searches, DiskTracker offers an extremely powerful multiple parameter searching system.  To use this system, the user must define an item filter to use (or select a saved filter).  Item filters can contain unlimited criteria and offers grouping as well as the AND, OR, and XOR binary operations.
  69.  
  70. ΓÇó To find items using item filters:
  71.  
  72.     1.) Select ΓÇ£Find Using FilterΓǪΓÇ¥ from the Search menu (or press ΓîÿE).  You will be presented with the Find Using Filter dialog:
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.     2.) Select an item filter from the filter pop up menu or choose the ΓÇ£<untitled filter>ΓÇ¥.  (editing item filters is covered below)
  97.     3.) Select whether DiskTracker should search all disks, the current hierarchy, or just selected items from the ΓÇ£Search:ΓÇ¥ menu within the dialog.
  98.     4.) From the ΓÇ£Show:ΓÇ¥ menu, select how you would like DiskTracker to display the found items.  You can choose between having the first item selected, all of the items selected, or the items displayed in the search result window (for more on the search result window, see the next chapter).
  99.     5.) Click the ΓÇ£FindΓÇ¥ button to start the search, or ΓÇ£CancelΓÇ¥ to cancel.
  100.  
  101. NOTEΓÇöThe ΓÇ£untitled filterΓÇ¥ is a temporary item filter which will be lost when DiskTracker quits.  You can use the untitled filter for item filters that you do not wish to be saved on the disk.  If you would like to saved the untitled filter to disk, you can use the ΓÇ£Save AsΓǪΓÇ¥ filter management button (see below).
  102.  
  103.  
  104.  
  105. Managing item filters
  106. Any of the following steps can be issued from a dialog box which has the item filter management controls (includes the ΓÇ£Find Using FilterΓÇ¥ dialog, the ΓÇ£Find Duplicate FilesΓÇ¥ dialog, or the ΓÇ£File List FilterΓÇ¥ dialog (described later)).
  107.  
  108. ΓÇó To create a new filter:
  109.  
  110.     1.) Within a filter management dialog, click on the ΓÇ£NewΓǪΓÇ¥ button.
  111.     2.) Enter a name for the filter into the name dialog.
  112.     3.) You will be presented with the filter editor dialog.  See below for info on the filter editor.
  113.     4.) Be sure to click ΓÇ£OKΓÇ¥ to exit the editor, or else the filter will not be saved.
  114.  
  115.  
  116. ΓÇó To save a filter as a different name:
  117.  
  118.     1.) With the appropriate filter selected in a filter management dialog, click on the ΓÇ£Save AsΓǪΓÇ¥ button.
  119.     2.) Enter the name that the filter is to be saved as.
  120.     3.) Click on the ΓÇ£OKΓÇ¥ button to save the filter, or ΓÇ£CancelΓÇ¥ to abort.
  121.  
  122.  
  123. ΓÇó To delete a filter:
  124.  
  125.     1.) With the filter to be deleted selected in a filter management dialog, click on the ΓÇ£DeleteΓǪΓÇ¥ button.
  126.     2.) DiskTracker will ask you to confirm your choice to delete the item.  Click ΓÇ£DeleteΓÇ¥ to delete the filter or ΓÇ£CancelΓÇ¥ to abort.
  127.  
  128.  
  129. ΓÇó To edit a filter:
  130.  
  131.     1.) With the filter to be deleted selected in a filter management dialog, click on the ΓÇ£EditΓǪΓÇ¥ button.
  132.     2.) You will be presented with the filter editor dialog.  See below for info on the filter editor.
  133.     3.) Be sure to click ΓÇ£OKΓÇ¥ to exit the editor, or else the filter will not be saved.
  134.  
  135.  
  136.  
  137. The filter editor
  138. After you enter the filter editor (either by creating a new filter or by clicking the ΓÇ£EditΓÇ¥ button), you will be presented with a dialog, called the filter editor dialog, which has a large scrolling list of all of the criteria which make up the item filter (this list will, of course, be empty if the filter is new).  To build the item filter, you need to create, group, and set relations for criteria within this dialog box.
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158. ΓÇó To create a new filter criteria:
  159.  
  160.     1.) Click on the ΓÇ£InsertΓǪΓÇ¥ button within the item filter editor.  You will be presented with a dialog which resembles the top half of the single criteria search dialog.  
  161.     2.) Select the criteria you would like to search on from the menu on the left.  For a list of the criteria and what they do, see the list above.
  162.     3.) Select the how the criteria should be matched (e.g., contains, is equal to, is less than, etc.) from the menu on the right.
  163.     4.) Enter the search value or select it from the menu in the center (method depends on the search criteria).  See above for more info.
  164.     5.) Click ΓÇ£OKΓÇ¥ to add item to filter or ΓÇ£CancelΓÇ¥ to abort.  If a criteria was selected when ΓÇ£InsertΓǪΓÇ¥ was clicked, the new criteria will be added before that one.  Otherwise, the new criteria will be added to the end.
  165.  
  166.  
  167. ΓÇó To edit an item once it is in the criteria list:
  168.  
  169.     1.) Select the item you like to edit.
  170.     2.) Click on the ΓÇ£EditΓǪΓÇ¥ button.  Alternatively, you may double click on the item that you would like to edit.
  171.     3.) Select the criteria you would like to search on from the menu on the left.  For a list of the criteria and what they do, see the list above.
  172.     4.) Select the how the criteria should be matched (e.g., contains, is equal to, is less than, etc.) from the menu on the right.
  173.     5.) Enter the search value or select it from the menu in the center (method depends on the search criteria).  See above for more info.
  174.     6.) Click ΓÇ£OKΓÇ¥ to lock in the changes to the filter or ΓÇ£CancelΓÇ¥ to abort.
  175.  
  176.  
  177. ΓÇó To remove an item from the criteria list:
  178.  
  179.     1.) Click on the criteria (or criteria you would like to remove).  Shift-click to select more than one item.
  180.     2.) Click on the ΓÇ£DeleteΓÇ¥ button.  The criteria or criteria will be removed from the list.
  181.  
  182.  
  183.  
  184. About binary operators
  185. A binary operator takes two true/false values and combines them into a single true/false value.  The combination method depends on the operator.  Binary operators are necessary within item filters because they define how the individual criteria combine to determine whether an item is a ΓÇ£hitΓÇ¥.  
  186.  
  187. The three binary operators offered by DiskTracker are:
  188.    ΓÇó    ANDΓÇöreturns true if any only if, the two criteria being compared are both true.
  189.    ΓÇó    ORΓÇöreturns true if either or both of the two criteria being compared are true.
  190.       ΓÇó XOR (exclusive OR)ΓÇöreturns true if either of the two criteria being compared are true, but not if BOTH are true.
  191.  
  192. Whenever a new criteria is created, it by default uses the AND operator.
  193.  
  194.  
  195. ΓÇó To changing the binary operator for a filter criterium:
  196.  
  197.     1.) Click the item on the line which contains the operator to be changed.  Each operation compares items on the line that the operator is on and the following line.
  198.     2.) Select a new operator from the pop up menu.
  199.  
  200.  
  201.  
  202. About grouping
  203. If you would like certain criteria to evaluated before others, you can group them into a single criterium.  Groups are shown in the filter criteria list within a pair of brackets (ΓÇÿ[ΓÇÖ and ΓÇÿ]ΓÇÖ), one at the beginning and one at the end of the group.  If no groups are present, the criteria are evaluated and combined from the first to the last (i.e., left to right).  If groups are present, the groups are evaluated into one truth value first, then the items are combined from first to last (as if the group were a single criterium).  It is possible to nest groups (i.e., have a group inside of another group).
  204.  
  205.  
  206. ΓÇó To group two or more criteria:
  207.  
  208.     1.) Select the criteria in the list.  Shift-clicking allows you to select more than one criteria.
  209.     2.) If the ΓÇ£GroupΓÇ¥ button is enabled, the items may be grouped.  Click on the ΓÇ£GroupΓÇ¥ button to group the criteria.
  210.  
  211.  
  212. ΓÇó To ungroup criteria:
  213.  
  214.     1.) Select the criteria within the list which make up a group.
  215.     2.) If the ΓÇ£UngroupΓÇ¥ button is enabled, the items are indeed in a group and may be ungrouped.  Click on the ΓÇ£UngroupΓÇ¥ button to ungroup the items.
  216.  
  217.  
  218.  
  219. Automatic item filter creation
  220. DiskTracker has an automatic item filter generation systemΓÇögiven a selected item, the generator will produce an item filter based on the characteristics of that file.  You can choose which criteria to base this filter on as well as where to store the filter (either in a new filter or in the untitled filter).
  221.  
  222.  
  223. ΓÇó To set the automatic filter generator options:
  224.  
  225.     1.) Select ΓÇ£Auto Filter OptionsΓǪΓÇ¥ from the Search menu.  You will be presented with the Auto Filter Options dialog:
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.     2.) Check the criteria that you would like the filter to include.
  255.     3.) Choose whether you would like the generator to save the new filter or to just put it into the untitled filter.
  256.     4.) Click ΓÇ£OKΓÇ¥ to lock in your choices or ΓÇ£CancelΓÇ¥ to abort.
  257.  
  258.  
  259. ΓÇó To produce an item filter automatically:
  260.  
  261.     1.) Select the item that you would like the filter to be based on.
  262.     2.) Select ΓÇ£Make Filter From ItemΓÇ¥ from the Search menu (or press ΓîÿT).  An item filter containing the specified criteria will be created and saved into either the untitled filter or into a filter with the same name as the item (as chosen in the Auto Filter Options dialog).
  263.  
  264.  
  265.  
  266. Finding duplicate items
  267. DiskTracker includes a powerful duplicate items finding system.  This system will search for all files which are identical in several different user-specifiable criteria.  For instance, if the duplicate file locator is set to locate files by name and size, any two or more files which have the same name and size will be ΓÇ£hitsΓÇ¥.  In addition, an item filter can be used to reduce the pool of files which are to be examined for duplicates.
  268.  
  269. ΓÇó To set the criteria which must be matched for a file to be considered the duplicate of another:
  270.  
  271.     1.) Select ΓÇ£Duplicate Item CriteriaΓǪΓÇ¥ from the Search menu.  You will be presented with the Duplicate Item Criteria dialog:
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.     2.) Check the criteria which you would like to have matched for a file to be considered the duplicate of another.
  299.     3.) Click ΓÇ£OKΓÇ¥ to lock in your settings or ΓÇ£CancelΓÇ¥ to abort.
  300.  
  301.  
  302. ΓÇó To search for duplicate files:
  303.  
  304.     1.) Select ΓÇ£Find Duplicate ItemsΓǪΓÇ¥ from the Search menu.  You will be presented with the Find Duplicate Items dialog:
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.     2.) If you would like to use an item filter to reduce the number of items examined, select the filter from the pop-up menu.  You can also use the filter management controls to create new filters, edit filters, save filters, and delete filters, as described above.
  327.     3.) Select whether DiskTracker should search all disks, the current hierarchy, or just selected items from the ΓÇ£Search:ΓÇ¥ menu within the dialog.
  328.     4.) Click the ΓÇ£FindΓÇ¥ button to start the search or ΓÇ£CancelΓÇ¥ to cancel.